package com.itheima.service;

import com.itheima.example.common.model.User;
import com.itheima.example.common.service.UserService;
import com.itheima.wei.springboot.starter.annotation.RpcService;
import org.springframework.stereotype.Service;

/**
 * ClassName: UserServiceImpl
 * Package: com.itheima.service
 * Description:
 *
 * @Author 看到风
 * @Create 2024/12/13 18:01
 * @Version 1.0
 */
@Service
@RpcService
public class UserServiceImpl implements UserService {
    @Override
    public User getUser(User user) {
        System.out.println("用户名："+user.getName());
        return user;
    }
}
